package com.smartshino.face;

import android.content.Context;
import android.graphics.Bitmap;
import com.synface.utils.Logs.Logs;

public class SsNow
{
  private static final String TAG = "SsNow";
  public static boolean isLoad = false;

  public native int SetCtx(Context paramContext);

  public native String GenAct(int paramInt, byte[] paramArrayOfByte);

  public native int Version(int[] paramArrayOfInt1, int[] paramArrayOfInt2, short[] paramArrayOfShort);

  public native int Init(long[] paramArrayOfLong);

  public native int Close(long paramLong);

  public native int Fminut(String paramString, byte[] paramArrayOfByte, int paramInt, long paramLong);

  public native int Match(byte[] paramArrayOfByte1, byte[] paramArrayOfByte2, int paramInt, long paramLong);

  public native int Minutia(byte[] paramArrayOfByte, Bitmap paramBitmap, int paramInt, long paramLong);

  public native int AttrFbmp(String paramString, int[] paramArrayOfInt);

  public native int LoadFbmp(String paramString, byte[] paramArrayOfByte, int paramInt);

  public native int SaveFbmp(String paramString, byte[] paramArrayOfByte, int[] paramArrayOfInt, int paramInt);

  public native int FeatureX(byte[] paramArrayOfByte1, byte[] paramArrayOfByte2, int[] paramArrayOfInt, int paramInt, long paramLong);

  public native int LodDat(String paramString);

  public native int Discover(int[] paramArrayOfInt, Bitmap paramBitmap, int paramInt, long paramLong);

  public native int YuvToRgb(byte[] paramArrayOfByte1, int paramInt1, int paramInt2, byte[] paramArrayOfByte2);

  public native int DoRotate(byte[] paramArrayOfByte, int[] paramArrayOfInt, int paramInt);

  public native int DiscoverX(int[] paramArrayOfInt, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3, long paramLong);

  public native int Transform(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2);

  public native int RgbToJpg(byte[] paramArrayOfByte1, int paramInt1, int paramInt2, byte[] paramArrayOfByte2, int paramInt3, int paramInt4);

  static { if (!isLoad) {
      System.loadLibrary("SsNow");
      Logs.debugLog("SsNow", "load library libFaceRecognize ");
      isLoad = true;
    } }

}